package com.packet.cheng.service;

import com.packet.cheng.entity.RedPacketRecord;
import com.packet.cheng.mapper.RedPacketRecordMapper;

import java.util.List;

/**
 * 抢红包业务逻辑实现
 * @author 张在成
 */
public interface RedPacketRecordService {

    /**
     * 新增抢红包记录
     * @param packetRecord
     * @return
     */
    boolean  insertRedPacketRecord(RedPacketRecord packetRecord);

    /**
     * 查询抢红包记录
     * @param packetRecord
     * @return 红包记录集合
     */
    List<RedPacketRecord> selectRedPacketRecord(RedPacketRecordMapper packetRecord);


}
